//
//  AFHttpService.h
//  TyCommunityClientC
//
//  Created by Johnny on 15/12/8.
//  Copyright © 2015年 xingrong. All rights reserved.
//

#import "AFHTTPSessionManager.h"
#import "DSToast.h"
#import "MJExtension.h"
#import "ToastActivity.h"
#import "ResponseHeader.h"
#import "Singleton.h"

@interface AFHttpService : AFHTTPSessionManager

+ (AFHttpService *)shareInstance;

//异步请求
- (void)POST:(NSString *)URLString Dictionary:(NSDictionary *)dic success:(void (^)(ResponseHeader *response))success failure:(void (^)(NSString *errorMsg))failure;

////图片上传
//- (void)uploadImageData:(NSData *)imageData success:(void (^)(ResponseHeader *response))success failure:(void (^)(NSString *errorMsg))failure;

@end
